//
//  CatSharePageInfo.m
//  YinHang
//
//  Created by idea on 14-10-17.
//  Copyright (c) 2014年 孙彦鹏. All rights reserved.
//

#import "CatSharePageInfo.h"

@implementation CatSharePageInfo

#pragma mark - Life Cycle method
- (void)dealloc{
    
    NSLog(@"PageInfo dealloc ...");
}


- (id)init{
    self = [super init];
    if (self) {
        _pageno = @"1";
        _pagesize = @"10";
        _hasMoreData = YES;
    }
    return self;
}

#pragma mark - Public method

- (void)nextPage{
    NSInteger pageno = [_pageno integerValue];
    pageno++;
    _pageno = [NSString stringWithFormat:@"%ld",(long)pageno];
}

#pragma mark - Property getter method

- (NSMutableArray*)dataArr{
    if (!_dataArr) {
        _dataArr = [NSMutableArray array];
    }
    return _dataArr;
}


@end
